package com._21cn.cms.article.dao.mybatis;

import com._21cn.cms.article.dao.SpecialDao;
import com._21cn.cms.article.entity.Special;
import com._21cn.framework.base.db.mybatis.BaseDaoMybatis;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Required;
import org.springframework.stereotype.Repository;

@Repository("specialDao")
public class SpecialDaoMybatis extends BaseDaoMybatis<Special>
        implements SpecialDao
{
    public SpecialDaoMybatis()
    {
        setNameSpace("t_cms_special");
    }
    @Required
    @Autowired
    @Qualifier("sqlSessionFactory")
    public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) { super.setSqlSessionFactory(sqlSessionFactory); }

}